import unittest
from htmltestreport import HTMLTestReport
# 创建suite实例
from sh_06IHRMlogin import TestIhrmLogin

suite = unittest.TestSuite()
# 指定类的全部测试方法
suite.addTest(unittest.makeSuite(TestIhrmLogin))

# 创建HTMLTestReport实例
runner = HTMLTestReport("IHRMLogin.html",title="IHRMLogin.html",description="这个一个测试文件")
runner.run(suite)